package com.imooc.security.log;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName AuditLogService
 * @Description TODO
 * @Author wushaopei
 * @Date 2021/5/3 22:27
 * @Version 1.0
 */
//@Component
@Service
public class AuditLogService {

    @Autowired
    private AuditLogRepository auditLogRepository;

    public void save(AuditLog log) {
        auditLogRepository.save(log);
    }
}
